From: Tim Starling Date: Sun, 26 Jun 2005 07:00:41 +0000 (+0000) Subject: Fixed interwiki bug X-Git-Tag: 1.5.0beta1~7 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=e68b242f310bc876b6ec152a2e67ce706863f204;p=lhc%2Fweb%2Fwiklou.git Fixed interwiki bug --- diff --git a/includes/Title.php b/includes/Title.php index 9348d34e2c..4f98258ed8 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1992,9 +1992,12 @@ class Title { * have description pages in the database, but the description page contains * useful history information that the user may want to link to. * + * Interwiki links are not in this category because of icky pass-interaction + * issues. Anything containing http:// gets mangled later. Local URLs use + * relative paths. */ function isAlwaysKnown() { - return $this->isExternal() || ( 0 == $this->mNamespace && "" == $this->mDbkeyform ) + return ( 0 == $this->mNamespace && "" == $this->mDbkeyform ) || NS_SPECIAL == $this->mNamespace || NS_IMAGE == $this->mNamespace; }